-- GENERATED SPELL FOR [Bonestripper Vulture] --


function spell0_16973(pUnit, Event) --@Gut Rip,n/a--
pUnit:FullCastSpellOnTarget(32022,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16973', 684, 1)
end

function spell1_16973(pUnit, Event) --@Use Corpse,n/a--
pUnit:FullCastSpellOnTarget(33985,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16973', 627, 1)
end

function Sorts_16973(pUnit, Event)
local choix_sorts_16973 = math.random(0, 1)
if choix_sorts_16973 == 0 then
pUnit:RegisterEvent('spell0_16973', 1, 1)
end
if choix_sorts_16973 == 1 then
pUnit:RegisterEvent('spell1_16973', 1, 1)
end
end

function mob16973_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16973', math.random(1500, 3000), 1)
end

function mob16973_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16973_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16973_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16973, 1, 'mob16973_Action')
RegisterUnitEvent(16973, 2, 'mob16973_Leave')
RegisterUnitEvent(16973, 3, 'mob16973_Kill')
RegisterUnitEvent(16973, 4, 'mob16973_Die')
